import sys
from PyQt5.QtWidgets import QApplication, QMessageBox
from database_ui import MyWindow


if __name__ == "__main__":
    app = QApplication(sys.argv)
    # 直接实例化MyWindow，它已经包含了完整的UI和功能
    window = MyWindow()
    window.show()
    sys.exit(app.exec_())